package com.jy.entity;
/*
学生类
*/
public class Student {
    private  int stid;//用户id
    private int classid;//班级id
    private String stname;//用户名
    private String stpass;//密码
    private String stphone;//手机
    private String stsex;//性别
    private String stwx;//微信
    private String stavatar;//用户头像

    public int getStid() {
        return stid;
    }

    public void setStid(int stid) {
        this.stid = stid;
    }

    public int getClassid() {
        return classid;
    }

    public void setClassid(int classid) {
        this.classid = classid;
    }

    public String getStname() {
        return stname;
    }

    public void setStname(String stname) {
        this.stname = stname;
    }

    public String getStpass() {
        return stpass;
    }

    public void setStpass(String stpass) {
        this.stpass = stpass;
    }

    public String getStphone() {
        return stphone;
    }

    public void setStphone(String stphone) {
        this.stphone = stphone;
    }

    public String getStsex() {
        return stsex;
    }

    public void setStsex(String stsex) {
        this.stsex = stsex;
    }

    public String getStwx() {
        return stwx;
    }

    public void setStwx(String stwx) {
        this.stwx = stwx;
    }

    public String getStavatar() {
        return stavatar;
    }

    public void setStavatar(String stavatar) {
        this.stavatar = stavatar;
    }

    @Override
    public String toString() {
        return "\nStudent{" +
                "stid=" + stid +
                ", classid=" + classid +
                ", stname='" + stname + '\'' +
                ", stpass='" + stpass + '\'' +
                ", stphone='" + stphone + '\'' +
                ", stsex=" + stsex +
                ", stwx='" + stwx + '\'' +
                ", stavatar='" + stavatar + '\'' +
                '}';
    }
}
